<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>

</body>

</html>!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    const str = 'a9s8df79as8d32kj4LOLa9s8d7fa8k32jh';
    const arr1 = [...str]
    console.log(arr1);
    // 1
    let word = '';
    arr1.forEach(item => {
      word += item;
    })
    console.log(word);
    // 2
    console.log(
      arr1.join('')
    );
  </script>
</body>

</html>